package pro.cherish.knowledgeobjectstorage.config.storageConfig;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "cherishmall.storage.local")
@PropertySource(value = "classpath:application-storage.properties")
public class LocalProperties {
    private String address;
    private String port;
    private String storagePath;
}
